<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title><?echo $gallerytitle?></title>
  <meta name="title" content="<?echo $gallerytitle; ?>" />
  <meta name="robots" content="noindex,nofollow" />
  <meta http-equiv="Content-Type" content="text/html; charset=<? echo $charset ?>" />
  <link href="styles/<? echo $activestyle ?>/css/style.css" rel="stylesheet" type="text/css"></link>
</head>
<?
//
// DO NOT MESS WITH TEXT BELOW THIS COMMENT,
// FUNCTION: JAVASCRIPT TO PLACE CURSOR IN
// LOCKED FOLDER PASSWORD FORM
//
$bodyparm = "";
if (is_file("$list/locked.dir")) {
  $currentpass = "";
  $fd = fopen("$list/locked.dir", "rt");
  while (!feof ($fd)) {
    $currentpass = trim(fgets($fd, 4096));
  }
  fclose ($fd);
  if (md5($_SESSION['folderpass']) != $currentpass) {
    $bodyparm = ' onload="document.login.folderpass.focus()"';
  }
}
?>
<body<? echo $bodyparm; ?>>
<? // AFTER THIS COMMENT, FEEL FREE TO EDIT AGAIN  ?>

<table cellspacing="0" cellpadding="0" class="table_top" width="100%">
<tr valign="top">
  <td class="navgal"><? $MGaction->navigation("&gt;"); ?></td>
  <td class="headline"><? echo $MGaction->getcurrentfolder();  ?></td></tr>
</table>
